<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh,add,edit,del')}
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover"
                           data-operate-edit="{:$auth->check('classroom/edit')}"
                           data-operate-del="{:$auth->check('classroom/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>

<script id="schoolTpl" type="text/html">
    <div class="row">
        <div class="col-xs-12">
            <div class="form-inline" data-toggle="cxselect" data-selects="school,garden,building">
                <input type="hidden" class="operate" data-name="school_id" value="=" />
                <input type="hidden" class="operate" data-name="garden_id" value="=" />
                <select class="form-control school" name="school_id" data-url="school/cxSelect"></select>
                <select class="form-control garden" name="garden_id" data-url="garden/cxSelect" data-query-name="school_id"></select>
                <select class="form-control building" name="building_id" data-url="building/cxSelect" data-query-name="garden_id"></select>
            </div>
        </div>
    </div>
</script>

